package com.tyk.bookstore.back.system.model.query;

import com.tyk.bookstore.back.system.model.type.UserState;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Set;

@Data
public class UserUpdateQuery {
    @Schema(description = "用户ID")
    @NotNull
    private Long id;

    @Schema(description = "用户状态")
    @NotNull
    private UserState state;

    @Schema(description = "角色ID列表")
    @NotNull
    private Set<Long> roleIdList;
}
